All, |
Re: Load a Baseline but ignore the default view |
Re: Load a Baseline but ignore the default view
Don't think I've ever done it but you can turn on logging which will trap DXL errors and redirect them to some file.
NameDefault = getDefaultViewForUser(mod)
ErrMess = setDefaultViewForUser(mod, "Standard view")
if (!null ErrMess) //-
then LoadOK = false // No such view
else
{ // load baseline here //read(NameModFull, false, false) // Invis, don't load standard view
// Now reinstate the original default view for you
if (null NameDefault) //-
then clearDefaultViewForUser(mod)
else setDefaultViewForUser (mod, NameDefault)
}
|
Re: Load a Baseline but ignore the default view |
Re: Load a Baseline but ignore the default view OurGuest - Thu Jul 28 11:04:38 EDT 2011 |
Re: Load a Baseline but ignore the default view SystemAdmin - Thu Jul 28 11:28:06 EDT 2011 Posted this code but not good at searching forums.
|